<?php
class ome_shop_type{
    
    /**
     * 节点类型
     * @access public
     * @return Array
     */
    static function get_shop_type(){
        $shop_type = array (
            'shopex_b2c' => '48体系网店',
            'shopex_b2b' => '分销王',
            'ecos.ome' => '后端业务处理系统',
            'ecos.b2c' => 'ec-store',
            'taobao' => '淘宝',
            'paipai' => '拍拍',
            'ecshop_b2c' => 'ecshop',
        	'gome' => '国美',
        	'qinqinbaby' => '亲亲宝贝商城',
        	'360buy' => '京东',
          );
        return $shop_type;
    }
    
    /**
     * 获取节点类型名称
     * @param string $shop_type 店铺类型
     * @return 店铺类型名称 
     */
    static function shop_name($shop_type=''){
        $types = self::get_shop_type();
        return $types[$shop_type];
    }
    
    /**
     * C2C前端店铺列表
     * @return array
     */
    static function shop_list(){
        
        $shop = array('taobao','paipai','youa');
        return $shop;
    }

    /**
     * B2B前端店铺列表
     * @return array
     */
    static function b2b_shop_list(){
        
        $shop = array('shopex_b2b');
        return $shop;
    }
    
}